home *** CD-ROM | disk | FTP | other *** search
- package com.ms.dxmedia;
-
- import com.ms.com.ComFailException;
- import com.ms.dxmedia.rawcom.DAVector3;
- import com.ms.dxmedia.rawcom.IDABehavior;
- import com.ms.dxmedia.rawcom.IDAVector3;
-
- public class Vector3Bvr extends Behavior {
- private IDAVector3 _COMptr;
-
- public NumberBvr getZ() {
- try {
- return new NumberBvr(this.getCOMPtr().getZ());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public Vector3Bvr normalize() {
- try {
- return new Vector3Bvr(this.getCOMPtr().Normalize());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public NumberBvr getX() {
- try {
- return new NumberBvr(this.getCOMPtr().getX());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public void setCOMBvr(IDABehavior var1) {
- super.setCOMBvr(var1);
- this._COMptr = (IDAVector3)var1;
- }
-
- public NumberBvr lengthSquared() {
- try {
- return new NumberBvr(this.getCOMPtr().getLengthSquared());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public Vector3Bvr(IDAVector3 var1) {
- super(var1);
- this._COMptr = var1;
- }
-
- public Vector3Bvr() {
- super((IDABehavior)null);
- this._COMptr = null;
- }
-
- public static Vector3Bvr newUninitBvr() {
- return new Vector3Bvr(new DAVector3());
- }
-
- protected Behavior newUninitBehavior() {
- return newUninitBvr();
- }
-
- public NumberBvr getY() {
- try {
- return new NumberBvr(this.getCOMPtr().getY());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public IDAVector3 getCOMPtr() {
- return this._COMptr;
- }
-
- public Vector3Bvr transform(Transform3Bvr var1) {
- try {
- return new Vector3Bvr(this.getCOMPtr().Transform(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public Vector3Bvr mul(NumberBvr var1) {
- try {
- return new Vector3Bvr(this.getCOMPtr().MulAnim(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public Vector3Bvr mul(double var1) {
- try {
- return new Vector3Bvr(this.getCOMPtr().Mul(var1));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
-
- public NumberBvr length() {
- try {
- return new NumberBvr(this.getCOMPtr().getLength());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public NumberBvr getSphericalCoordLength() {
- try {
- return new NumberBvr(this.getCOMPtr().getSphericalCoordLength());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public Vector3Bvr div(NumberBvr var1) {
- try {
- return new Vector3Bvr(this.getCOMPtr().DivAnim(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public Vector3Bvr div(double var1) {
- try {
- return new Vector3Bvr(this.getCOMPtr().Div(var1));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
-
- public NumberBvr getSphericalCoordXYAngle() {
- try {
- return new NumberBvr(this.getCOMPtr().getSphericalCoordXYAngle());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public NumberBvr getSphericalCoordYZAngle() {
- try {
- return new NumberBvr(this.getCOMPtr().getSphericalCoordYZAngle());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
- }
-